let btn1=document.querySelector(".centent-btn-a1-b1-c1")
let btn2=document.querySelector(".centent-btn-a1-b1-c2")
let pr1=document.querySelector(".centent-pr1")
let pr2=document.querySelector(".centent-pr2")
btn1.onclick=function(){
	pr1.style.display="block"
	pr2.style.display="none"
}
btn2.onclick=function(){
	pr1.style.display="none"
	pr2.style.display="block"
}
let male1=document.querySelector("#male1")
let male2=document.querySelector("#male2")
let bian1=document.querySelector(".bian1")
let bian2=document.querySelector(".bian2")
male1.onblur=function(){
	if(!/./.test(male1.value)){
		bian1.innerText="请输入登录名"
	}else{
		bian1.innerText=""
	}
}
male2.onblur=function(){
	if(!/./.test(male2.value)){
		bian2.innerText="请输入密码"
	}else{
		bian2.innerText=""
	}
}

let btn3=document.querySelector(".btn3")
let genduo=document.querySelector(".cent-genduo")
btn3.onclick=function(){
	genduo.classList.toggle("db")
}

let imgas=document.querySelector("#imgas")
let xbt=document.querySelector(".imgas-xbt")
imgas.onmouseover=function(){
	xbt.style.display="block"
}
imgas.onmouseout=function(){
	xbt.style.display="none"
}












